package com.upcode.weighing.admin.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class ExceptionMessageUtil {

	public static boolean isCustExceptMsg(String msg) {
		if(msg == null || msg.trim().isEmpty()) {
			return false;
		}
		// 汉字编码范围:\u4e00-\u9FA5
		Pattern p;
		p = Pattern.compile("[\\u4e00-\\u9FA5]");
        Matcher isNum = p.matcher(msg);
        return isNum.find();
	}
	
}
